package com.puman.beautyfarmcounselor.ui.home.model;

import com.puman.beautyfarmcounselor.ui.task.model.BaseEntity;
import com.puman.beautyfarmcounselor.ui.task.model.CommunicationType;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by puman on 15/7/21.
 * 任务跟进列表  会员信息
 */
public class TaskVipMember extends  BaseEntity{

    /**
     * msg : 成功
     * flag : true
     * data : {"comminicate_types":[{"code":"1000x0001","name":"电话","template_code":"0004"}],"at_page":31748,"total_page":37254,"follow_list":[{"gender":"女","head_pic":"","mobile":"13810556238","name":"代洋洋","wechat":"","target_id":2148900,"customer_id":47780,"emp_id":"2329","status":0}]}
     */
    private String msg;
    private boolean flag;
    private DataEntity data = new DataEntity();

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public DataEntity getData() {
        return data;
    }

    public class DataEntity {
        /**
         * comminicate_types : [{"code":"1000x0001","name":"电话","template_code":"0004"}]
         * at_page : 31748
         * total_page : 37254
         * follow_list : [{"gender":"女","head_pic":"","mobile":"13810556238","name":"代洋洋","wechat":"","target_id":2148900,"customer_id":47780,"emp_id":"2329","status":0}]
         */
        private List<CommunicateType> comminicate_types = new ArrayList<>();
        private int at_page;
        private int total_page;
        private List<FollowType> follow_list = new ArrayList<>();

        public List<CommunicateType> getComminicate_types() {
            return comminicate_types;
        }

        public void setComminicate_types(List<CommunicateType> comminicate_types) {
            this.comminicate_types = comminicate_types;
        }

        public int getAt_page() {
            return at_page;
        }

        public void setAt_page(int at_page) {
            this.at_page = at_page;
        }

        public int getTotal_page() {
            return total_page;
        }

        public void setTotal_page(int total_page) {
            this.total_page = total_page;
        }

        public List<FollowType> getFollow_list() {
            return follow_list;
        }

        public void setFollow_list(List<FollowType> follow_list) {
            this.follow_list = follow_list;
        }
    }
}
